export const formConfig = {
  blockTitle: '人员信息',
  groups: [
    {
      groupName: '基本信息',
      fields: [
        { id: '001', model: 'userId', label: '用户编号', width: '', type: 'input', disabled: 'Y' },
        { id: '002', model: 'userName', label: '用户姓名', width: '', type: 'input', disabled: 'N' },
        { id: '007', model: 'phone', label: '联系电话', width: '', type: 'input' },
        { id: '008', model: 'age', label: '年龄', width: '', type: 'input' },
        { id: '005', model: 'createTime', label: '创建时间', width: '', type: 'input', disabled: 'Y', default: '' },
      ],
    },
    {
      groupName: '工作信息',
      fields: [
        { id: '014', model: 'entryTime', label: '入职日期', width: '', type: 'datepicker' },
        {
          id: '006',
          model: 'dept',
          label: '所属部门',
          width: '',
          type: 'select',
          opt: [
            { value: 'd01', label: '部门1' },
            { value: 'd02', label: '部门2' },
          ],
        },
        { id: '010', model: 'depart', label: '离职', width: '', type: 'switch', opt: { activeValue: 'Y', inactiveValue: 'N' } },
      ],
    },
    {
      groupName: '登录账号',
      fields: [
        { id: '003', model: 'account', label: '登录账户', width: '', type: 'input' },
        { id: '004', model: 'passWord', label: '登录密码', width: '', type: 'input', disabled: 'Y' },
        { id: '009', model: 'isLock', label: '账号冻结', width: '', type: 'switch', opt: { activeValue: 'Y', inactiveValue: 'N' } },
      ],
    },
  ],
}
